package org.bigjava.novelplatform.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ykh
 * @create 2022-03-20 15:15
 */
@Getter
@AllArgsConstructor
public enum UserType  implements CodeMesEnum{
    general(0,"普通"),NEW_USER(1,"新用户"),returned_customer(2,"老用户");

    @EnumValue
    private final Integer code;
    private final String message;
}
